#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main()
{
	int i, k, x;
	for (i = 1; i <= 7; i++)
	{
		k = fabs(4 - i);
		x = 7 - 2 * k;
		for (int j = 1; j <= k; j++)
			printf(" ");
		for (int m = 1; m <= x; m++)
			printf("*");
		printf("\n");
	}
	return 0;
}